#define _CRT_SECURE_NO_WARNINGS 1
#include"SeqList.h"


void test1()
{
	SeqList sl;
	SeqListInit(&sl);
	for (int i = 1; i <= 5; i++)
	{
		SeqListPushBack(&sl,i);
	}

	SeqListPrint(&sl);
	SeqListPushFront(&sl, 0);
	SeqListPrint(&sl);
	SeqListPopFront(&sl);
	SeqListPopBack(&sl);
	SeqListPushBack(&sl, 6);
	SeqListPushBack(&sl, 7);
	SeqListPushBack(&sl, 8);
	SeqListInsert(&sl, 4, 5);
	SeqListErase(&sl, 5);
	SeqListPrint(&sl);
	
}

void test()
{

}
int main()
{
	test1();
	return 0;
}